LiteDAC

TDAConditions Members

TDAConditions class overview.

Properties

Name Description

Condition

Used to iterate through all the conditions.

Enabled

Indicates whether the condition is enabled

Items

Used to iterate through all conditions.

Text

The property returns condition names and values as CONDITION_NAME=CONDITION

WhereSQL

Returns the SQL WHERE condition added in the Conditions property.

Methods

Name Description

Add

Overloaded. Adds a condition to the WHERE clause of the query.

Delete

Deletes the condition

Disable

Disables the condition

Enable

Enables the condition

Find

Search for TDACondition (the condition) by its name. If found, the TDACondition object is returned, otherwise - nil.

Get

Retrieving a TDACondition object by its name. If found, the TDACondition object is returned, otherwise - an exception is raised.

IndexOf

Retrieving condition index by its name. If found, this condition index is returned, otherwise - the method returns -1.

Remove

Removes the condition
© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback